package com.zoshine.zzg.pojo;

import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.OrderStatus;

import java.util.List;

/**
 * 犯人点单
 * @author 田沛凌
 * @time 2017年6月23日 下午2:17:31
 */
public class OrderPrisoner extends Pagination {
	private static final long serialVersionUID = 3171904542124257628L;



    /**犯人账号ID*/
    private Long prisonerInfo;
    
    /**犯人姓名*/
    private String prisonerName;

    /**创建类型*/
    private Integer createType;

    /**状态*/
    private Integer status;
    
    /**商品总数量*/
    private Integer totalCount;
    
    /**点单总销售价*/
    private Integer totalMoney;

    /**点单总收货数量*/
    private Integer totalInvoice;

    /**商品ID和数量*/
    private List<IdAndCount> idAndCounts; 

    /**监区号*/
    private String area;

    /**分监区*/
    private String subArea;
    
    public String getStatusStr(){
    	return OrderStatus.getDesc(status);
    }
    




    public List<IdAndCount> getIdAndCounts() {
		return idAndCounts;
	}

	public void setIdAndCounts(List<IdAndCount> idAndCounts) {
		this.idAndCounts = idAndCounts;
	}

	public String getPrisonerName() {
		return prisonerName;
	}

	public void setPrisonerName(String prisonerName) {
		this.prisonerName = prisonerName;
	}

	public Long getPrisonerInfo() {
		return prisonerInfo;
	}

	public void setPrisonerInfo(Long prisonerInfo) {
		this.prisonerInfo = prisonerInfo;
	}

	public Integer getCreateType() {
        return createType;
    }

    public void setCreateType(Integer createType) {
        this.createType = createType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public Integer getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(Integer totalMoney) {
		this.totalMoney = totalMoney;
	}

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Integer getTotalInvoice() {
        return totalInvoice;
    }

    public void setTotalInvoice(Integer totalInvoice) {
        this.totalInvoice = totalInvoice;
    }

    public String getSubArea() {
        return subArea;
    }

    public void setSubArea(String subArea) {
        this.subArea = subArea;
    }
}